<?php
include($classes_path.'/class.pageFetcher.php');
$page = new pageFetcher();
$page->set_page($epage);
?>

<form class="cms_form_edit" method="POST" action="" enctype="multipart/form-data">
    <h3>Title</h3>
    <input type="text" class="inputtxt_title" name="title" value="<?php print(htmlentities($page->get_title())); ?>" /><br /><br />
    <h3>Summary</h3>
    <textarea name="summary" class="cms_txtarea" rows="0" cols="0"><?php print($page->get_summary()); ?></textarea><br /><br />
    <h3>Content</h3>
    <textarea name="body" class="wysiwyg" rows="0" cols="0"><?php print($page->get_body()); ?></textarea><br /><br />
    <h3>Feed</h3>
    <input type="text" class="inputtxt_title" name="feed" value="<?php print(htmlentities($page->get_feed())); ?>" /><br />
    <input type="checkbox" name="addmenu" value="true" <?php print($page->get_hidden()); ?> /><p class="inline">Add page to menu</p><br /><br />
    <input type="submit" value="Confirm changes" />
</form>